#include "Complex.h"
#include <iostream>
using namespace std;

template <typename T>
T Complex<T>::m_c = 0;

/*
template <typename T>
ostream&  operator<<(ostream &out, Complex<T> &obj){
        out<<"a = "<<obj.a <<" b = "<< obj.b<<endl;  
        return out;
}
*/

template <typename T>
Complex<T>::Complex(T a, T b)
{
        this->a = a;
        this->b = b;
}

template <typename T>
Complex<T>::~Complex()
{
        ;
}

template <typename T>
Complex<T> Complex<T>::operator+(Complex<T> &obj){
        Complex<T> tmp(a+obj.a, b+obj.b);
        
        return tmp;
}